package com.wn.trade;

import com.alibaba.druid.pool.DataSourceDisableException;
import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author yellow Docter
 * @date 2023 -07-31
 * @desc
 */

@EnableFeignClients({
        "com.wn.system.api",
        "com.wn.access.api",
        "com.wn.pay.api",
})            //开启   openfeign的使用
@MapperScan("com.wn.trade.mapper")
@SpringBootApplication            //mapper 为啥没有重复扫描
public class TradeApplication {

    public static void main(String[] args) {
        SpringApplication.run(TradeApplication.class, args);
    }

}
